package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Dorm;
import com.java2207.group1.vo.Breakfast.BarVo;
import com.java2207.group1.vo.Breakfast.PieVo;

import java.util.List;
import java.util.Map;

/**
 * @author :xs
 * @date : 2022/7/26
 */
public interface DormMapper {
    List<Dorm> dormPageData(Map<String, Object> params);

    int updateDorm(Dorm dorm);

    int addDorm(Dorm dorm);

    int deleteDormsByIds(String ids);

    int deleteDorm(Integer id);

    List<PieVo> TypoNamePieData();

    List<BarVo> TypeNameBarDate();

}
